package com.chanyachting.emall.service;

import java.util.List;

import com.chanyachting.emall.domain.Brand;
import com.chanyachting.emall.domain.Companyproduct;



/***
 * 品牌操作接口
 * @author robert
 *
 */
public interface BrandService {
	
	
	//1.获得一个品牌对象
	public Brand getOneBrand(Brand brand);
	
	//2.获得所有品牌对象
	public List<Brand> getAllBrand();
	
	//3.创建一个品牌对象
	public boolean createBrand(Brand brand);
	
	//4.修改品牌对象
	public boolean updateBrand(Brand brand);
	
	//5.删除指定品牌对象
	public boolean deleteBrand(Brand brand);
	
	//6.获得指定品牌下所有已经公开商品列表
	public List<Companyproduct> getCompanyProductListByBrand(Brand brand);

}
